package com.cos.mb3.factory;

import com.alibaba.druid.pool.DruidDataSource;
import org.apache.ibatis.datasource.pooled.PooledDataSourceFactory;

/**
 * @author: COS
 * @time: 2022/6/1 11:44
 * @description:
 */
public class MyDataSourceFactory extends PooledDataSourceFactory {

    public MyDataSourceFactory() {
        // 覆盖数据源
        this.dataSource = new DruidDataSource();
    }
}
